<!DOCTYPE html>
<html lang="en-us" xmlns:th="http://www.thymeleaf.org"
	xmlns:tiles="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

<title>SmartAdmin</title>
<meta name="description" content="">
<meta name="author" content="">

<!-- Use the correct meta names below for your web application
			 Ref: http://davidbcalhoun.com/2010/viewport-metatag 
			 
		<meta name="HandheldFriendly" content="True">
		<meta name="MobileOptimized" content="320">-->

<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

<!-- Basic Styles -->
<link rel="stylesheet"
	href="../../resources/css/libs/bootstrap/bootstrap.min.css"
	th:href="@{/resources/css/libs/bootstrap/bootstrap.min.css}">
<link rel="stylesheet"
	href="../../resources/css/libs/bootstrap/font-awesome.min.css"
	th:href="@{/resources/css/libs/bootstrap/font-awesome.min.css}">
<link rel="stylesheet" href="../../resources/css/main.css"
	th:href="@{/resources/css/main.css}">

<!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
<link rel="stylesheet" type="text/css" media="screen"
	href="../../resources/css/smartadmin-production_unminified.css"
	th:href="@{/resources/css/smartadmin-production_unminified.css}">
<link rel="stylesheet" type="text/css" media="screen"
	href="../../resources/css/smartadmin-skins.css"
	th:href="@{/resources/css/smartadmin-skins.css}">


<!-- FAVICONS -->
<link rel="shortcut icon" href="img/favicon/favicon.ico"
	th:href="@{/resources/img/favicon/favicon.ico}" type="image/x-icon">
<link rel="icon" href="img/favicon/favicon.ico"
	th:href="@{/resources/img/favicon/favicon.ico}" type="image/x-icon">

<!-- GOOGLE FONT -->
<link rel="stylesheet"
	href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">

</head>
<body id="login" class="animated fadeInDown">
	<!-- possible classes: minified, no-right-panel, fixed-ribbon, fixed-header, fixed-width-->
	<header id="header">
		<!--<span id="logo"></span>-->

		<div id="logo-group">
			<span id="logo"> <img src="img/logo.png"
				th:src="@{/resources/img/logo.png}" alt="SmartAdmin">
			</span>

			<!-- END AJAX-DROPDOWN -->
		</div>

	</header>

	<div id="main" role="main">

		<!-- MAIN CONTENT -->
		<div id="content" class="container">

			<div class="row">
				<div
					class="col-xs-12 col-sm-12 col-md-7 col-lg-8 hidden-xs hidden-sm">
					<h1 class="txt-color-red login-header-big">南京工业大学校友管理系统</h1>
					<div class="hero">

						<div class="pull-left login-desc-box-l">
							<h4 class="paragraph-header">高校资源整合解决方案，实现校友资源从简单通信式数据库管理到智慧动态实时管理的跨越，创新和引领校友智慧管理3.0时代</h4>
							<div class="login-app-icons">
								<span class="btn btn-danger btn-sm">汇聚</span> <span
									class="btn btn-danger btn-sm">凝聚</span> <span
									class="btn btn-danger btn-sm">积聚</span> <span
									class="btn btn-danger btn-sm">类聚</span> <span
									class="btn btn-danger btn-sm">创聚</span>
							</div>
						</div>

						<img src="img/demo/iphoneview.png"
							th:src="@{/resources/img//demo/iphoneview.png}"
							class="pull-right display-image" alt="" style="width: 210px">

					</div>



				</div>
				<div class="col-xs-12 col-sm-12 col-md-5 col-lg-4">
					<div class="well no-padding">
						<form action="index.html" id="login-form" th:action="@{/login}"
							method="post" class="smart-form client-form">
							<header> 用户登录 </header>

							<fieldset>
								<div th:if="${param.error}" class="alert alert-danger fade in">
									用户名或密码错误
								</div>

								<div th:if="${param.logout}" class="alert alert-success fade in">
									你已经安全退出系统
								</div>


								<section>
									<label class="label">登录名</label> <label class="input">
										<i class="icon-append fa fa-user"></i> <input type="text"
										id="username" name="username"> <b
										class="tooltip tooltip-top-right"><i
											class="fa fa-user txt-color-teal"></i> 请输入登录名</b>
									</label>
								</section>

								<section>
									<label class="label">登录密码</label> <label class="input">
										<i class="icon-append fa fa-lock"></i> <input type="password"
										id="password" name="password"> <b
										class="tooltip tooltip-top-right"><i
											class="fa fa-lock txt-color-teal"></i> 请输入密码</b>
									</label>
									<div class="note">
										<a href="javascript:void(0)">忘记登录密码?</a>
									</div>
								</section>

								<section>
									<label class="checkbox"> <input type="checkbox"
										id="_spring_security_remember_me"
										name="_spring_security_remember_me" checked=""> <i></i>记住我的登陆
										:)
									</label>
								</section>
							</fieldset>
							<footer>
								<button type="submit" class="btn btn-primary">登录</button>
							</footer>
						</form>

					</div>
				</div>
			</div>

		</div>

		<!--================================================== -->

		<!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)
		<script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script>-->

		<script
			src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
		<script>
			if (!window.jQuery) {
				document
						.write('<script src="/resources/js/libs/jquery-2.0.2.min.js"><\/script>');
			}
		</script>
		<script
			src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
		<script>
			if (!window.jQuery.ui) {
				document
						.write('<script src="resources/js/libs/jquery-ui-1.10.3.min.js"><\/script>');
			}
		</script>
		<!-- BOOTSTRAP JS -->
		<script src="../../resources/js/bootstrap/bootstrap.min.js"
			th:src="@{/resources/js/bootstrap/bootstrap.min.js}"></script>
		<!-- CUSTOM NOTIFICATION -->
		<!-- CUSTOM NOTIFICATION -->
		<script src="../../resources/js/notification/SmartNotification.min.js"
			th:src="@{/resources/js/notification/SmartNotification.min.js}"></script>


		<!-- browser msie issue fix -->
		<script
			src="../../resources/js/plugin/msie-fix/jquery.mb.browser.min.js"
			th:src="@{/resources/js/plugin/msie-fix/jquery.mb.browser.min.js}"></script>

		<!-- SmartClick: For mobile devices -->
		<script src="../../resources/js/plugin/smartclick/smartclick.js"
			th:src="@{/resources/js/plugin/smartclick/smartclick.js}"></script>

		<!--[if IE 7]>
			
			<h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>
			
		<![endif]-->

		<script src="../../resources/js/main.js"
			th:src="@{/resources/js/main.js}"></script>

		<script type="text/javascript">
			runAllForms();

			$(function() {
				// Validation
				$("#login-form").validate({
					// Rules for form validation
					rules : {
						email : {
							required : true,
						},
						password : {
							required : true,
							minlength : 3,
							maxlength : 20
						}
					},

					// Messages for form validation
					messages : {
						email : {
							required : 'Please enter your email address',
							email : 'Please enter a VALID email address'
						},
						password : {
							required : 'Please enter your password'
						}
					},

					// Do not change code below
					errorPlacement : function(error, element) {
						error.insertAfter(element.parent());
					}
				});
			});
		</script>
</body>
</html>